package com.xx.service;

import com.xx.dao.UserDao;
import com.xx.dao.UserDaoImpl;

public class UserServiceImpl implements UserService {
    // 控制权在程序员上，需求更改是这里的代码也要更改
    UserDao userDao = new UserDaoImpl();

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
